package de.stefanocke.roo.wicket.base;

import java.util.Collections;
import java.util.List;

import de.stefanocke.roo.wicket.model.BeanPropertyMetadataWithDetails;
import de.stefanocke.roo.xtend.ItdBuilder;

public abstract class BeanPropertiesAwareItdMetadataBase<AV, PCM extends ComponentMetadata> extends ModelClassAwareItdMetadataBase<AV> {
	
	private List<BeanPropertyMetadataWithDetails<PCM>> propertiesForScaffolding;

	public BeanPropertiesAwareItdMetadataBase(ModelClassAwareMetadataCreationParams<AV> cmcp, ItdBuilder itdBuilder, List<BeanPropertyMetadataWithDetails<PCM>> propertiesForScaffolding) {
		super(cmcp, itdBuilder);
		this.propertiesForScaffolding = Collections.unmodifiableList(propertiesForScaffolding);
	}
	
	public List<BeanPropertyMetadataWithDetails<PCM>> getPropertiesForScaffolding() {
		return propertiesForScaffolding;
	}

}
